package com.central.modules.sys.model;

import com.central.common.validator.group.DefaultGroup;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
public class SetMenusToRoleRequest implements Serializable {

    @NotNull(message = "{roleId.require}", groups = DefaultGroup.class)
    private Long roleId;

    private List<Long> menuIds;
}
